package com.relytosoft.mizar.media.camera.api.pojo.dto;


import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author lj
 * @date 2022/4/15 11:57
 */
public class CameraChannelDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 通道ID
     */
    private Integer id;

    /**
     * 关联设备id
     */
    private Integer cameraId;

    /**
     * 关联设备名称
     */
    private String cameraName;

    /**
     * 通道编码
     */
    private String channelCode;

    /**
     * 通道名称
     */
    private String channelName;

    /**
     * 连接协议;TCP、UDP
     */
    private Integer transType;

    /**
     * 连接协议类型名称
     */
    private String transTypeName;


    /**
     * 摄像机类型id
     */
    private Integer cameraTypeId;


    /**
     * 摄像机类型
     */
    private String cameraTypeName;

    /**
     * 通道能力
     */
    private String camability;

    /**
     * 主码流rtsp_url
     */
    private String mainStreamRtspUrl;

    /**
     * 关联主码流字典code
     */
    private Integer mainCode;

    /**
     * 子码流rtsp_url
     */
    private String subStreamRtspUrl;

    /**
     * 关联子码流字典code
     */
    private Integer subCode;

    /**
     * 经度
     */
    private String longItude;

    /**
     * 经纬度
     */
    private String latItude;

    /**
     * 海拔高度
     */
    private BigDecimal elevation;

    /**
     * 视域宽度
     */
    private BigDecimal viewWidth;

    /**
     * 区域二维地图位置
     */
    private String mapLocation;

    /**
     * 备注
     */
    private String remark;

    /**
     * 状态
     */
    private Integer status;

    /**
     * 区域id
     */
    private Integer districtId;

    /**
     * 完整区域
     */
    private String districtName;

    /**
     * 第三方平台通道编码
     */
    private String platformChannelCode;

    /**
     * 通道编号
     */
    private String channelNum;

    /**
     * 需要去重的ID集合
     */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    List<Integer> list;


    public Integer getSubCode() {
        return subCode;
    }

    public void setSubCode(Integer subCode) {
        this.subCode = subCode;
    }

    public Integer getMainCode() {
        return mainCode;
    }

    public void setMainCode(Integer mainCode) {
        this.mainCode = mainCode;
    }

    public String getChannelNum() {
        return channelNum;
    }

    public void setChannelNum(String channelNum) {
        this.channelNum = channelNum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getCameraId() {
        return cameraId;
    }

    public void setCameraId(Integer cameraId) {
        this.cameraId = cameraId;
    }

    public String getCameraName() {
        return cameraName;
    }

    public void setCameraName(String cameraName) {
        this.cameraName = cameraName;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }

    public Integer getTransType() {
        return transType;
    }

    public void setTransType(Integer transType) {
        this.transType = transType;
    }

    public String getTransTypeName() {
        return transTypeName;
    }

    public void setTransTypeName(String transTypeName) {
        this.transTypeName = transTypeName;
    }

    public Integer getCameraTypeId() {
        return cameraTypeId;
    }

    public void setCameraTypeId(Integer cameraTypeId) {
        this.cameraTypeId = cameraTypeId;
    }

    public String getCameraTypeName() {
        return cameraTypeName;
    }

    public void setCameraTypeName(String cameraTypeName) {
        this.cameraTypeName = cameraTypeName;
    }

    public String getCamability() {
        return camability;
    }

    public void setCamability(String camability) {
        this.camability = camability;
    }

    public String getMainStreamRtspUrl() {
        return mainStreamRtspUrl;
    }

    public void setMainStreamRtspUrl(String mainStreamRtspUrl) {
        this.mainStreamRtspUrl = mainStreamRtspUrl;
    }

    public String getSubStreamRtspUrl() {
        return subStreamRtspUrl;
    }

    public void setSubStreamRtspUrl(String subStreamRtspUrl) {
        this.subStreamRtspUrl = subStreamRtspUrl;
    }

    public String getLongItude() {
        return longItude;
    }

    public void setLongItude(String longItude) {
        this.longItude = longItude;
    }

    public String getLatItude() {
        return latItude;
    }

    public void setLatItude(String latItude) {
        this.latItude = latItude;
    }

    public BigDecimal getElevation() {
        return elevation;
    }

    public void setElevation(BigDecimal elevation) {
        this.elevation = elevation;
    }

    public BigDecimal getViewWidth() {
        return viewWidth;
    }

    public void setViewWidth(BigDecimal viewWidth) {
        this.viewWidth = viewWidth;
    }

    public String getMapLocation() {
        return mapLocation;
    }

    public void setMapLocation(String mapLocation) {
        this.mapLocation = mapLocation;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDistrictId() {
        return districtId;
    }

    public void setDistrictId(Integer districtId) {
        this.districtId = districtId;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getPlatformChannelCode() {
        return platformChannelCode;
    }

    public void setPlatformChannelCode(String platformChannelCode) {
        this.platformChannelCode = platformChannelCode;
    }

    public List<Integer> getList() {
        return list;
    }

    public void setList(List<Integer> list) {
        this.list = list;
    }

    @Override
    public String toString() {
        return "CameraChannelVo{" +
                "id=" + id +
                ", cameraId=" + cameraId +
                ", cameraName='" + cameraName + '\'' +
                ", channelCode='" + channelCode + '\'' +
                ", channelName='" + channelName + '\'' +
                ", transType=" + transType +
                ", transTypeName='" + transTypeName + '\'' +
                ", cameraTypeId=" + cameraTypeId +
                ", cameraTypeName='" + cameraTypeName + '\'' +
                ", camability='" + camability + '\'' +
                ", mainStreamRtspUrl='" + mainStreamRtspUrl + '\'' +
                ", subStreamRtspUrl='" + subStreamRtspUrl + '\'' +
                ", longItude='" + longItude + '\'' +
                ", latItude='" + latItude + '\'' +
                ", elevation=" + elevation +
                ", viewWidth=" + viewWidth +
                ", mapLocation='" + mapLocation + '\'' +
                ", remark='" + remark + '\'' +
                ", status=" + status +
                ", districtId=" + districtId +
                ", districtName='" + districtName + '\'' +
                ", platformChannelCode='" + platformChannelCode + '\'' +
                ", list=" + list +
                '}';
    }
}
